#include <iostream>

using namespace std;

int main()
{
    int a = 0;
    cin >> a;
    switch(a)
    {
        case 1:
           cout << "ponedelnik";
        break;
        case 2:
           cout << "vtornik";
        break;
        case 3:
            cout << "sreda";
        break;
        case 4:
        cout << "chetverg";
        break;
        case 5:
        cout << "pyatnica";
        break;
        case 6:
        cout << "subbota";
        break;
        case 7:
        cout << "voskresenie";
        break;
        default:
            cout << "takogo dny nedeli net";
    }
    return 0;
}
